﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;

public class TestBuilder 
{
    [MenuItem ("Build/Build All")]
    public static void BuildAll()
    {
        BuildPipeline.BuildAssetBundles(Application.dataPath + "/Bundle", BuildAssetBundleOptions.ChunkBasedCompression | BuildAssetBundleOptions.DeterministicAssetBundle, BuildTarget.StandaloneWindows);
    }

    [MenuItem("Build/Build Deps")]
    public static void BuildDeps()
    {
        BuildPipeline.BuildAssetBundles(Application.dataPath + "/Bundle", BuildAssetBundleOptions.ChunkBasedCompression | BuildAssetBundleOptions.DeterministicAssetBundle, BuildTarget.StandaloneWindows);
    }

    [MenuItem("Build/Build Single")]
    public static void BuildSingle()
    {
        BuildPipeline.BuildAssetBundles(Application.dataPath + "/Bundle", BuildAssetBundleOptions.ChunkBasedCompression | BuildAssetBundleOptions.DeterministicAssetBundle, BuildTarget.StandaloneWindows);
    }
}
